using UnityEngine;
using System.Collections;

public class Map : MonoBehaviour 
{

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}
	
	public void GenerateLevel()
	{
		Cells = new Cell[MapWidth, MapHeight];
		
		PaintCellRectangle(0,0,MapWidth - 1, MapHeight -1, new Cell_Granite(), true);
		
		partitionedTree = PartitionDungeon();
		
		//http://7yrl.com/2009/04/10/7/
	}
}
